using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Kingdee.WeksErp.WebApp.Models.Orders
{
    public partial class IC_Web2ERPOrders
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int FID { get; set; }

        public int FClassTypeID { get; set; }

        public DateTime FOrderDate { get; set; }

        [Required]
        [StringLength(100)]
        public string FWebshopID { get; set; }

        [Required]
        [StringLength(40)]
        public string FSiteOrderID { get; set; }

        [Required]
        [StringLength(40)]
        public string FOrderID { get; set; }

        public decimal? FUniqueCode { get; set; }

        public int FOrderType { get; set; }

        public decimal FAmount { get; set; }

        [Required]
        [StringLength(100)]
        public string FBuyerNick { get; set; }

        [Required]
        [StringLength(100)]
        public string FBuyerName { get; set; }

        [StringLength(100)]
        public string FConsignee { get; set; }

        [Required]
        [StringLength(40)]
        public string FTelephone { get; set; }

        [Required]
        [StringLength(100)]
        public string FZipCode { get; set; }

        [Required]
        [StringLength(500)]
        public string FDeliveryAddress { get; set; }

        public int FLogisticsID { get; set; }

        [Required]
        [StringLength(40)]
        public string FLogisticsComp { get; set; }

        [Required]
        [StringLength(40)]
        public string FLogisticsOrder { get; set; }

        public decimal FLogisticsCost { get; set; }

        public decimal FWeight { get; set; }

        public decimal FTotalFreight { get; set; }

        [Column(TypeName = "ntext")]
        [Required]
        public string FMergeOrder { get; set; }

        public int FMergeStatus { get; set; }

        public int FTransactionStatus { get; set; }

        [Required]
        [StringLength(1000)]
        public string FReasonsForFailure { get; set; }

        public int FAppraisalStatus { get; set; }

        public int FOrderStatus { get; set; }

        public bool FCheckStatus { get; set; }

        public bool FLockStatus { get; set; }

        [Column(TypeName = "ntext")]
        [Required]
        public string FLockRem { get; set; }

        public bool FIsPrintExpress { get; set; }

        public bool FIsPrintSend { get; set; }

        public int FInvoiceStatus { get; set; }

        public int FInnerInvoice { get; set; }

        public int? FChkMan { get; set; }

        public int? FPickMan { get; set; }

        public int? FShippingMan { get; set; }

        [Required]
        [StringLength(255)]
        public string FPickRem { get; set; }

        [Column(TypeName = "ntext")]
        [Required]
        public string FOrderRem { get; set; }

        [Required]
        [StringLength(255)]
        public string FShippingRem { get; set; }

        public DateTime FCreatedate { get; set; }

        public DateTime? FModifydate { get; set; }

        [Column(TypeName = "ntext")]
        [Required]
        public string FTransCloseReason { get; set; }

        public int FStockID { get; set; }

        public int FOrderFlag { get; set; }

        public bool FIsBuyerAppraisal { get; set; }

        public bool FIsSellerAppraisal { get; set; }

        public bool FIsPrintPick { get; set; }

        public DateTime? FLogisticsDate { get; set; }

        [Required]
        [StringLength(40)]
        public string FDeliveryProvince { get; set; }

        [Required]
        [StringLength(40)]
        public string FDeliveryCity { get; set; }

        [Required]
        [StringLength(40)]
        public string FDeliveryDistrict { get; set; }

        public DateTime? FSiteOrderDate { get; set; }

        public DateTime? FSiteEndDate { get; set; }

        public DateTime? FSitePayDate { get; set; }

        public decimal FAmountOld { get; set; }

        public decimal FBuyerFreightOld { get; set; }

        [Required]
        [StringLength(40)]
        public string FMobile { get; set; }

        [Required]
        [StringLength(20)]
        public string FTransactionType { get; set; }

        public int FShippingType { get; set; }

        public DateTime? FSiteModifydate { get; set; }

        public decimal FBuyerCodfee { get; set; }

        public bool FWeightStatus { get; set; }

        public int FPrintExpressCount { get; set; }

        public int FPrintSendCount { get; set; }

        [Required]
        [StringLength(40)]
        public string FFeeBillNO { get; set; }

        [Column(TypeName = "ntext")]
        [Required]
        public string FChkRem { get; set; }

        [Required]
        [StringLength(40)]
        public string FOutStockBillNO { get; set; }

        public decimal FBalanceAmount { get; set; }

        [StringLength(1000)]
        public string FBuyerMessage { get; set; }

        [StringLength(1000)]
        public string FSellerMessage { get; set; }

        [Column(TypeName = "ntext")]
        [Required]
        public string FPreOrderRem { get; set; }

        [Column(TypeName = "ntext")]
        [Required]
        public string FPreBuyerMessage { get; set; }

        public int FSendType { get; set; }

        public decimal FDiscountFee { get; set; }

        public int FDelayDay { get; set; }

        public DateTime? FSendDate { get; set; }

        [Required]
        [StringLength(40)]
        public string FServerNO { get; set; }

        public bool FIsClaim { get; set; }

        [Required]
        [StringLength(40)]
        public string FSrcNo { get; set; }

        public decimal FPreBuyerCodfee { get; set; }

        public decimal FPreDiscountFee { get; set; }

        public int? FBiller { get; set; }

        public DateTime? FPickDate { get; set; }

        public int FIsExport { get; set; }

        public int? FLockMan { get; set; }

        public int FShippingID { get; set; }

        public bool FIsAssignedExpress { get; set; }

        [Required]
        [StringLength(255)]
        public string FBuyerEMail { get; set; }

        public DateTime? FChkDate { get; set; }

        public int FVoidStatus { get; set; }

        public int FUpLoadStatus { get; set; }

        public decimal FAlipayAmount { get; set; }

        public decimal FBillDiscountFee { get; set; }

        public int? FWebShopType { get; set; }

        public int? FWebShopFID { get; set; }

        public byte FRefundStatus1 { get; set; }

        public decimal FRefundAmt { get; set; }

        public decimal FTotalRefundAmt { get; set; }

        public byte FPartRefundStatus { get; set; }

        public int FVoucherID { get; set; }

        public int? FYear { get; set; }

        public int? FPeriod { get; set; }

        public int? FVChecker { get; set; }

        public byte FRecordStatus { get; set; }

        public byte FRefundRecordStatus { get; set; }

        public byte FBalanceStatus { get; set; }

        public byte FOrderStatus1 { get; set; }

        public int FEmpID { get; set; }

        [StringLength(1000)]
        public string FInvoiceName { get; set; }

        public int? FPreChkMan { get; set; }

        public bool? fisCod { get; set; }

        public bool fisLocalChangeAddr { get; set; }

        public DateTime? FPreChkDate { get; set; }

        public DateTime? FOnlineSendDate { get; set; }

        [StringLength(200)]
        public string FTradeFrom { get; set; }

        [Required]
        [StringLength(250)]
        public string FDeliveryRemark { get; set; }

        [StringLength(200)]
        public string FWeighttingMan { get; set; }

        public bool FPIckingGoodsStatus { get; set; }

        public int? FPickingGoodMan { get; set; }

        public bool FWeighttingStatus { get; set; }

        public int FEMSorderType { get; set; }

        [StringLength(200)]
        public string FBuyerPayMode { get; set; }

        [StringLength(100)]
        public string FfenxiaoSendid { get; set; }

        [StringLength(40)]
        public string fwaybill_code { get; set; }

        public int FOptDptID { get; set; }

        [Required]
        [StringLength(255)]
        public string FInvoiceInfo { get; set; }

        public decimal FTaxRate { get; set; }

        public decimal FTaxAmount { get; set; }

        [Required]
        [StringLength(10)]
        public string FIs_jzservice_order { get; set; }

        public DateTime? FOrderPickingDate { get; set; }

        [Required]
        [StringLength(40)]
        public string FCurrencyID { get; set; }

        [Required]
        [StringLength(40)]
        public string FDeliveryCountry { get; set; }

        [Required]
        [StringLength(255)]
        public string FSaleNo { get; set; }

        [StringLength(500)]
        public string FDeliveryTime { get; set; }

        [StringLength(255)]
        public string FDistributionName { get; set; }

        [StringLength(255)]
        public string FInvoiceType { get; set; }

        [StringLength(100)]
        public string FisBlackList { get; set; }

        [Required]
        [StringLength(80)]
        public string FDeliveryTownship { get; set; }

        [StringLength(1)]
        public string FExpress100Result { get; set; }

        [StringLength(300)]
        public string FExpress100FailReason { get; set; }

        public decimal FPlatFormFee { get; set; }
    }
}
